<template>
  <svg
    class="yindu-icon"
    width="16px"
    height="16px"
    viewBox="0 0 16 16"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <defs>
      <polygon
        id="location-path-1"
        points="0 0 13.3668 0 13.3668 15.9998 0 15.9998"
      ></polygon>
    </defs>
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-479.000000, -111.000000)">
        <g id="编组-6" transform="translate(479.000000, 111.000000)">
          <rect id="矩形" x="0" y="0" width="16" height="16"></rect>
          <g id="编组" transform="translate(1.000000, 0.000000)">
            <path
              d="M6.684,3.9204 C5.16,3.9204 3.92,5.1604 3.92,6.6844 C3.92,8.2084 5.16,9.4484 6.684,9.4484 C8.208,9.4484 9.448,8.2084 9.448,6.6844 C9.448,5.1604 8.208,3.9204 6.684,3.9204 M6.684,10.4354 C4.616,10.4354 2.932,8.7524 2.932,6.6844 C2.932,4.6164 4.616,2.9324 6.684,2.9324 C8.752,2.9324 10.436,4.6164 10.436,6.6844 C10.436,8.7524 8.752,10.4354 6.684,10.4354"
              id="Fill-1"
              fill="#D8D8D8"
            ></path>
            <g>
              <mask id="location-mask-2" fill="white">
                <use xlink:href="#location-path-1"></use>
              </mask>
              <g id="Clip-4"></g>
              <path
                d="M6.684,0.9878 C3.543,0.9878 0.988,3.5428 0.988,6.6838 C0.988,8.2748 1.626,9.7498 2.786,10.8378 L6.684,14.6228 L10.575,10.8438 C11.741,9.7498 12.379,8.2748 12.379,6.6838 C12.379,3.5428 9.824,0.9878 6.684,0.9878 L6.684,0.9878 Z M6.684,15.9998 L2.104,11.5518 C0.769,10.2998 0,8.5228 0,6.6838 C0,2.9978 2.998,-0.0002 6.684,-0.0002 C10.369,-0.0002 13.367,2.9978 13.367,6.6838 C13.367,8.5228 12.598,10.2998 11.257,11.5578 L6.684,15.9998 Z"
                id="Fill-3"
                fill="#D8D8D8"
                mask="url(#location-mask-2)"
              ></path>
            </g>
          </g>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#D8D8D8",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path {
    fill: v-bind(fillColor);
  }
}
</style>
